package com.ruoyi.Student.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 成员信息对象 student
 * 
 * @author yjh
 * @date 2024-08-18
 */
public class Student extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一ID */
    private Long id;

    /** 年级 */
    @Excel(name = "年级")
    private String grade;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String name;

    /** 专业/班级 */
    @Excel(name = "专业/班级")
    private String specialty;

    /** 男/女 */
    @Excel(name = "男/女")
    private String sex;

    /** 电话 */
    @Excel(name = "电话")
    private String number;

    /** 导师 */
    @Excel(name = "导师")
    private String teacher;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSpecialty(String specialty) 
    {
        this.specialty = specialty;
    }

    public String getSpecialty() 
    {
        return specialty;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setTeacher(String teacher) 
    {
        this.teacher = teacher;
    }

    public String getTeacher() 
    {
        return teacher;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("grade", getGrade())
            .append("name", getName())
            .append("specialty", getSpecialty())
            .append("sex", getSex())
            .append("number", getNumber())
            .append("teacher", getTeacher())
            .toString();
    }
}
